﻿<Window x:Class="XNAControlExample.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:my="clr-namespace:XNAControl;assembly=XNAControl"
        Title="MainWindow" Height="350" Width="525">
    <DockPanel>
        <Menu Height="22" Name="menu1" IsMainMenu="True" DockPanel.Dock="Top">
            <MenuItem x:Name="Exit" Header="Exit" Click="Exit_Click"/>
            <MenuItem x:Name="Animation" Header="_Animation" Click="Animation_Click" IsCheckable="true" IsChecked="True"/>
        </Menu>
        <my:UserControl1 x:Name="xnaControl" DockPanel.Dock="Bottom"/>
    </DockPanel>
</Window>
